export interface NavItem {
    title: string;
    link: string;
}

export interface CarouselItem {
    image: string;
    link: string;
}

export interface ContactInfo {
    service: string;
    phone: string;
    email: string;
    address: string;
    // 添加联系我们的配置
    contactAddress: string;
    contactPhone: string;
}

export interface FooterLink {
    title: string;
    link: string;
}

export interface Logo {
    url: string;
    alt: string;
    name: string;
}

export interface WebsiteConfig {
    logo: Logo;
    navItems: NavItem[];
    carouselItems: CarouselItem[];
    footerLogo: string;
    contactInfo: ContactInfo;
    footerLinks: FooterLink[];
    qrcode: string;
    companyName: string;
    icpInfo: string;
}

export const websiteConfig: WebsiteConfig = {
    logo: {
        url: new URL('./images/logo.jpg', import.meta.url).href,
        alt: '萝玛出行',
        name: '萝玛出行'
    },
    navItems: [
        {
            title: '网站首页',
            link: '/'
        }
    ],
    carouselItems: [
        {
            image: '@/views/main-html/images/banner.jpg',
            link: '#'
        }
    ],
    footerLogo: new URL('./images/logo.jpg', import.meta.url).href,
    contactInfo: {
        service: '客服热线',
        phone: '18605023860',
        email: '18605023860@163.com',
        address: '厦门市思明区莲丰大厦',
        // 添加联系我们的信息
        contactAddress: '厦门市思明区莲丰大厦',
        contactPhone: '18605023860'
    },
    footerLinks: [
        {
            title: '关于我们',
            link: '/about'
        }
    ],
    qrcode: new URL('./images/logo.jpg', import.meta.url).href,
    companyName: '萝玛出行（厦门）科技有限公司',
    icpInfo: '闽ICP备2024057063号'
};